package com.rest.demo.mybatisdemo.service;

import com.rest.demo.mybatisdemo.entity.Account;

import java.util.List;

/**
 * @author Administrator
 * @decription
 * @Date 2017-11-14 15:59
 */
public interface IAccountService {

    int add(String name,double money);

    int update(String name,double money,int id);

    int delete(int id);

    Account findAccount(int id);

    List<Account> findAccountList();
}
